#!/usr/bin/env python
# -*- coding: UTF-8 -*-
#from django.http import HttpResponse
from django.shortcuts import render_to_response
#from django.template import Context
#from django.template.loader import get_template

import datetime

""" 模块名
@version: 0.1
@author: ChiBin <ggyqfc@gmail.com>
@license: LGPL
@see:

"""
def index(request):
    return HttpResponse("Welcom to django")

def current_datetime(request):
  # current_date = datetime.datetime.now()
    now = datetime.datetime.now()
   # t = get_template('cunow.html')
    #html = t.render(Context({'current_date':now}))
    #return HttpResponse(html)
    return render_to_response('cunow.html',{'current_date':now})


